package com.zs.games.utils;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 分页常量
 *
 * @author hunter
 */
@Data
@ApiModel(value = "分页数据")
public class PageData<T> {
    @ApiModelProperty(value = "列表数据")
    private T rows;
    @ApiModelProperty(value = "总条数")
    private Long total;
    @ApiModelProperty(value = "总页数")
    private Long pages;
    @ApiModelProperty(value = "当前页")
    private Long current;
}
